package com.noreg.vo;

import java.util.Date;

import org.apache.log4j.Logger;

/**
 * @author Jeson
 * @blog: http://www.ij2ee.com/
 * @date:2011-2-19 下午01:40:42
 * @version :
 *
 */
public class Article {
    private String title;
    private String body;
    private String link;
    private String author;
    private String [] tags;
    private Date dCreate;
    private Object[] categories = null;
    private String keyword = "";
    private String user = "";
    private String pwd = "";
    private boolean disPost = true;
    private String urlKey = "";
    public static final String MORE = "<p><!--more--></p>";
    public  final String MORE_TAG = "<p><!--more--></p>";
    public  void showArtical(){
    	log.info("title:"+getTitle());
    	log.info("body:"+getBody());
    	log.info("tag:"+getTags());
    	log.info("keyword:"+getKeyword());
    }
    public String getUrlKey() {
		return urlKey;
	}
	public void setUrlKey(String urlKey) {
		this.urlKey = urlKey;
	}
	public Object[] getCategories() {
		return categories;
	}
	public void setCategories(Object[] categories) {
		this.categories = categories;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getBody() {
        return body;
    }
    public void setBody(String body) {
        this.body = body;;
    }
    public String getLink() {
        return link;
    }
    public void setLink(String link) {
        this.link = link;
    }
    public String getAuthor() {
        return author;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
    public String[] getTags() {
        return tags;
    }
    public void setTags(String[] tags) {
        this.tags = tags;
    }
    public Date getDCreate() {
        return dCreate;
    }
    public void setDCreate(Date create) {
        dCreate = create;
    }
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public boolean isDisPost() {
		return disPost;
	}
	public void setDisPost(boolean disPost) {
		this.disPost = disPost;
	}

	static Logger log = Logger.getLogger(Article.class);
}

 
